package com.itheima.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

@SpringBootApplication
@MapperScan("com.itheima.stock.mapper")//扫描持久层的接口，生成代理对象，并扫描扫ioc 批量扫描（也可以在mappwe接口使用mapper注解）
public class BookendApp {
    public static void main(String[] args) {
        SpringApplication.run(BookendApp.class,args);
    }
}
